#pragma once
#include <windows.h>

class CRiticalSection
{
public:
    CRiticalSection();
    ~CRiticalSection();

private:
    CRITICAL_SECTION mCs;
public:
    int Lock();
    int UnLock();
};

